
all: 
	make -C ./src/

clean:
	cd src && make clean

main:
	@make main -C ./src/
	@echo -------------------------------------------------------
	@echo ------------------------ start ------------------------
	@echo -------------------------------------------------------
	@./bin/main

# $@ 匹配 t%
t%:
	@clear
	@make $@ -C ./src/
	@echo -------------------------------------------------------
	@echo ------------------------ start ------------------------
	@echo -------------------------------------------------------
	@./bin/main_$*_*

# $* 匹配 %
r%:
	@./bin/main_$*_*

help:
	@echo ------ make and run ------
	@echo make main
	@echo make t001
	@echo make t002
	@echo ...
	@echo ------ run ------
	@echo make r001
	@echo make r002
	@echo ...